import 'package:fluro/fluro.dart';
import 'package:flutter/material.dart';
// 页面
import './simple_form_test/simple_form_test.dart';

class FormPageRouteMap {
  final String simpleFormTest = 'simple_form_test';

  static void Function(FluroRouter) define = handleDefine;
}

void handleDefine(FluroRouter router) {
  FormPageRouteMap routeMap = FormPageRouteMap();

  router.define(
    routeMap.simpleFormTest,
    handler: Handler(
      handlerFunc: (BuildContext? context, Map<String, List<String>> params) {
        return SimpleFormTest();
      },
    ),
  );
}
